package com.jobsika.client.navigation;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.StackPanel;
import com.google.gwt.user.client.ui.VerticalPanel;

public class NavigationPanel extends Composite {
	private VerticalPanel skeleton;
//	private Logo logo;
//	private Logo login;
	
	public NavigationPanel() {
		skeleton = new VerticalPanel();
		
//		logo.addMouseOverHandler(logoOver);
//		logo.addMouseDownHandler(logoDown);
//		logo.addFocusHandler(logoFocus);
//		logo.addMouseOutHandler(logoOut);
//		logo.addBlurHandler(logoBlur);
//		
//		login.setStyleName("login");
//		login.addMouseOverHandler(loginOver);
//		login.addMouseDownHandler(loginDown);
//		login.addMouseOutHandler(loginOut);
		
//		skeleton.add(logo);
//		skeleton.add(login);
		
		
		//
		String text2 = "Sed egestas, arcu nec accumsan...";
		String text3 = "Proin tristique, elit at blandit...";
		StackPanel panel = new StackPanel();
		Label label;
		label = new Label(text2);
		panel.add(label, "Category", false);
		label = new Label(text3);
		panel.add(label, "Location", false);
		skeleton.add(panel);
		
		skeleton.addStyleName("navigationPanel");
		panel.setStyleName("navigationStack");
		this.initWidget(skeleton);
	}
//	
//	private MouseDownHandler loginDown = new MouseDownHandler() {
//		@Override
//		public void onMouseDown(MouseDownEvent event) {
//			History.newItem("login");
//			History.fireCurrentHistoryState();
//		}
//	};
//	
//	private MouseOverHandler loginOver = new MouseOverHandler() {
//		public void onMouseOver(MouseOverEvent event) {
//			login.addStyleName("login-over");
//		}
//	};
//	
//	private MouseOutHandler loginOut = new MouseOutHandler() {
//		public void onMouseOut(MouseOutEvent event) {
//			login.removeStyleName("login-over");
//		}
//	};
//	
//	private MouseDownHandler logoDown = new MouseDownHandler() {
//		@Override
//		public void onMouseDown(MouseDownEvent event) {
//			History.newItem("");
//			History.fireCurrentHistoryState();
//		}
//	};
//	
//	private MouseOverHandler logoOver = new MouseOverHandler() {
//		public void onMouseOver(MouseOverEvent event) {
//			logo.addStyleName("logo-over");
//		}
//	};
//	
//	private FocusHandler logoFocus = new FocusHandler() {
//		public void onFocus(FocusEvent event) {
//			logo.addStyleName("logo-over");
//		}
//	};
//	
//	private MouseOutHandler logoOut = new MouseOutHandler() {
//		public void onMouseOut(MouseOutEvent event) {
//			logo.removeStyleName("logo-over");
//		}
//	};
//	
//	private BlurHandler logoBlur = new BlurHandler() {
//		public void onBlur(BlurEvent event) {
//			logo.removeStyleName("logo-over");
//		}
//	};
}
